@use 'styles/helpers' as *;

.wrapper {
  @include trans-opacity;
  position: relative;
  // border-radius: 20px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;

  @include d {
    padding: 20px;
  }

  @include t {
    padding: 15px;
  }
}

.close {
  position: absolute;
  right: 8px;
  top: 8px;

  @include t {
    right: 4px;
    top: 4px;
  }
}

.expand {
  position: absolute;
  right: 8px;
  bottom: 8px;

  @include t {
    right: 4px;
    bottom: 4px;
  }
}

.title {
  @include title4;
  color: var(--text-color-secondary);
  opacity: 0.5;
  display: flex;
  align-items: center;
}